<%@ include file="/WEB-INF/jsp/common/include.jsp" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<tiles:insertDefinition name="adminLayout.tiles">
  <tiles:putAttribute name="pageTitle">Admin</tiles:putAttribute>
  <tiles:putAttribute name="body" cascade="true">
    <h1>Administration portal</h1>
    <br/>
    <c:forEach var="stat" items="${statistics}" >
      <h2><c:out value="${stat.key}"/></h2>
      <p>
        Hits: <c:out value="${stat.value.hitCount}"/>
      </p>
      <p>
        Misses: <c:out value="${stat.value.missCount}"/>
      </p>
      <p>
        Object count: <c:out value="${stat.value.itemCount}"/>
      </p>
      <p>
        Cache size in bytes: <c:out value="${stat.value.totalItemBytes}"/>
      </p>
      <p>
        Max time without access: <c:out value="${stat.value.maxTimeWithoutAccess}"/>
      </p>
    </c:forEach>
test
  </tiles:putAttribute>
</tiles:insertDefinition>